package changYongapi;

import java.util.Random;

public class random01 {
    public static void main(String[] args) {
        Random a = new Random();
        boolean b = a.nextBoolean();
        System.out.println(a.nextInt(10));
        System.out.println(b);
    }
}
